/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.mzk.rehan.commons;

/**
 *
 * @author Martin Řehánek <rehan at mzk.cz>
 */
public class Utils {

    public static void busyWait(int secondsToWait) {
        long start, end;
        start = System.currentTimeMillis();
        do {
            end = System.currentTimeMillis();
        } while ((end - start) < (secondsToWait * 1000));
    }
}
